/**
 * 
 */

module game {

    export class QianghuaPanel extends eui.Component {
        public okBtn: eui.Group;
        public closeBtn: eui.Image;
        public showText: eui.Label;
        public sendBtn: eui.Group;


        public constructor() {
            super();
            this.addEventListener(eui.UIEvent.COMPLETE, this.createCompleteEvent, this);
            this.skinName = "QianghuaSkin";
            BtnTool.btnSMin(this.okBtn);
            BtnTool.btnSMin(this.closeBtn);
            BtnTool.btnSMin(this.sendBtn);
        }

        public createCompleteEvent(event: eui.UIEvent): void {
            let conf = ModelconfConfMgr.instance.getConfBySystemid(106);//读取策划csv配置文件
            let arr = conf.iconopen.split(';');
            this.removeEventListener(eui.UIEvent.COMPLETE, this.createCompleteEvent, this);
            // game.AppFacade.getInstance().registerMediator( new RoleMediator(this) );
        }

        public updateView(data){
            
        }


        public partAdded(partName: string, instance: any): void {
            super.partAdded(partName, instance);
        }
    }
}